home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / dom / nsIDOMHTMLTextAreaElement.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  12KB  |  327 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIDOMHTMLTextAreaElement.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIDOMHTMLTextAreaElement_h__
  6. #define __gen_nsIDOMHTMLTextAreaElement_h__
  7.  
  8.  
  9. #ifndef __gen_nsIDOMHTMLElement_h__
  10. #include "nsIDOMHTMLElement.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17.  
  18. /* starting interface:    nsIDOMHTMLTextAreaElement */
  19. #define NS_IDOMHTMLTEXTAREAELEMENT_IID_STR "a6cf9094-15b3-11d2-932e-00805f8add32"
  20.  
  21. #define NS_IDOMHTMLTEXTAREAELEMENT_IID \
  22.   {0xa6cf9094, 0x15b3, 0x11d2, \
  23.     { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
  24.  
  25. /**
  26.  * The nsIDOMHTMLTextAreaElement interface is the interface to a
  27.  * [X]HTML textarea element.
  28.  *
  29.  * For more information on this interface please see
  30.  * http://www.w3.org/TR/DOM-Level-2-HTML/
  31.  *
  32.  * @status FROZEN
  33.  */
  34. class NS_NO_VTABLE nsIDOMHTMLTextAreaElement : public nsIDOMHTMLElement {
  35.  public: 
  36.  
  37.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMHTMLTEXTAREAELEMENT_IID)
  38.  
  39.   /* attribute DOMString defaultValue; */
  40.   NS_IMETHOD GetDefaultValue(nsAString & aDefaultValue) = 0;
  41.   NS_IMETHOD SetDefaultValue(const nsAString & aDefaultValue) = 0;
  42.  
  43.   /* readonly attribute nsIDOMHTMLFormElement form; */
  44.   NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm) = 0;
  45.  
  46.   /* attribute DOMString accessKey; */
  47.   NS_IMETHOD GetAccessKey(nsAString & aAccessKey) = 0;
  48.   NS_IMETHOD SetAccessKey(const nsAString & aAccessKey) = 0;
  49.  
  50.   /* attribute long cols; */
  51.   NS_IMETHOD GetCols(PRInt32 *aCols) = 0;
  52.   NS_IMETHOD SetCols(PRInt32 aCols) = 0;
  53.  
  54.   /* attribute boolean disabled; */
  55.   NS_IMETHOD GetDisabled(PRBool *aDisabled) = 0;
  56.   NS_IMETHOD SetDisabled(PRBool aDisabled) = 0;
  57.  
  58.   /* attribute DOMString name; */
  59.   NS_IMETHOD GetName(nsAString & aName) = 0;
  60.   NS_IMETHOD SetName(const nsAString & aName) = 0;
  61.  
  62.   /* attribute boolean readOnly; */
  63.   NS_IMETHOD GetReadOnly(PRBool *aReadOnly) = 0;
  64.   NS_IMETHOD SetReadOnly(PRBool aReadOnly) = 0;
  65.  
  66.   /* attribute long rows; */
  67.   NS_IMETHOD GetRows(PRInt32 *aRows) = 0;
  68.   NS_IMETHOD SetRows(PRInt32 aRows) = 0;
  69.  
  70.   /* attribute long tabIndex; */
  71.   NS_IMETHOD GetTabIndex(PRInt32 *aTabIndex) = 0;
  72.   NS_IMETHOD SetTabIndex(PRInt32 aTabIndex) = 0;
  73.  
  74.   /* readonly attribute DOMString type; */
  75.   NS_IMETHOD GetType(nsAString & aType) = 0;
  76.  
  77.   /* attribute DOMString value; */
  78.   NS_IMETHOD GetValue(nsAString & aValue) = 0;
  79.   NS_IMETHOD SetValue(const nsAString & aValue) = 0;
  80.  
  81.   /* void blur (); */
  82.   NS_IMETHOD Blur(void) = 0;
  83.  
  84.   /* void focus (); */
  85.   NS_IMETHOD Focus(void) = 0;
  86.  
  87.   /* void select (); */
  88.   NS_IMETHOD Select(void) = 0;
  89.  
  90. };
  91.  
  92. /* Use this macro when declaring classes that implement this interface. */
  93. #define NS_DECL_NSIDOMHTMLTEXTAREAELEMENT \
  94.   NS_IMETHOD GetDefaultValue(nsAString & aDefaultValue); \
  95.   NS_IMETHOD SetDefaultValue(const nsAString & aDefaultValue); \
  96.   NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm); \
  97.   NS_IMETHOD GetAccessKey(nsAString & aAccessKey); \
  98.   NS_IMETHOD SetAccessKey(const nsAString & aAccessKey); \
  99.   NS_IMETHOD GetCols(PRInt32 *aCols); \
  100.   NS_IMETHOD SetCols(PRInt32 aCols); \
  101.   NS_IMETHOD GetDisabled(PRBool *aDisabled); \
  102.   NS_IMETHOD SetDisabled(PRBool aDisabled); \
  103.   NS_IMETHOD GetName(nsAString & aName); \
  104.   NS_IMETHOD SetName(const nsAString & aName); \
  105.   NS_IMETHOD GetReadOnly(PRBool *aReadOnly); \
  106.   NS_IMETHOD SetReadOnly(PRBool aReadOnly); \
  107.   NS_IMETHOD GetRows(PRInt32 *aRows); \
  108.   NS_IMETHOD SetRows(PRInt32 aRows); \
  109.   NS_IMETHOD GetTabIndex(PRInt32 *aTabIndex); \
  110.   NS_IMETHOD SetTabIndex(PRInt32 aTabIndex); \
  111.   NS_IMETHOD GetType(nsAString & aType); \
  112.   NS_IMETHOD GetValue(nsAString & aValue); \
  113.   NS_IMETHOD SetValue(const nsAString & aValue); \
  114.   NS_IMETHOD Blur(void); \
  115.   NS_IMETHOD Focus(void); \
  116.   NS_IMETHOD Select(void); 
  117.  
  118. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  119. #define NS_FORWARD_NSIDOMHTMLTEXTAREAELEMENT(_to) \
  120.   NS_IMETHOD GetDefaultValue(nsAString & aDefaultValue) { return _to GetDefaultValue(aDefaultValue); } \
  121.   NS_IMETHOD SetDefaultValue(const nsAString & aDefaultValue) { return _to SetDefaultValue(aDefaultValue); } \
  122.   NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm) { return _to GetForm(aForm); } \
  123.   NS_IMETHOD GetAccessKey(nsAString & aAccessKey) { return _to GetAccessKey(aAccessKey); } \
  124.   NS_IMETHOD SetAccessKey(const nsAString & aAccessKey) { return _to SetAccessKey(aAccessKey); } \
  125.   NS_IMETHOD GetCols(PRInt32 *aCols) { return _to GetCols(aCols); } \
  126.   NS_IMETHOD SetCols(PRInt32 aCols) { return _to SetCols(aCols); } \
  127.   NS_IMETHOD GetDisabled(PRBool *aDisabled) { return _to GetDisabled(aDisabled); } \
  128.   NS_IMETHOD SetDisabled(PRBool aDisabled) { return _to SetDisabled(aDisabled); } \
  129.   NS_IMETHOD GetName(nsAString & aName) { return _to GetName(aName); } \
  130.   NS_IMETHOD SetName(const nsAString & aName) { return _to SetName(aName); } \
  131.   NS_IMETHOD GetReadOnly(PRBool *aReadOnly) { return _to GetReadOnly(aReadOnly); } \
  132.   NS_IMETHOD SetReadOnly(PRBool aReadOnly) { return _to SetReadOnly(aReadOnly); } \
  133.   NS_IMETHOD GetRows(PRInt32 *aRows) { return _to GetRows(aRows); } \
  134.   NS_IMETHOD SetRows(PRInt32 aRows) { return _to SetRows(aRows); } \
  135.   NS_IMETHOD GetTabIndex(PRInt32 *aTabIndex) { return _to GetTabIndex(aTabIndex); } \
  136.   NS_IMETHOD SetTabIndex(PRInt32 aTabIndex) { return _to SetTabIndex(aTabIndex); } \
  137.   NS_IMETHOD GetType(nsAString & aType) { return _to GetType(aType); } \
  138.   NS_IMETHOD GetValue(nsAString & aValue) { return _to GetValue(aValue); } \
  139.   NS_IMETHOD SetValue(const nsAString & aValue) { return _to SetValue(aValue); } \
  140.   NS_IMETHOD Blur(void) { return _to Blur(); } \
  141.   NS_IMETHOD Focus(void) { return _to Focus(); } \
  142.   NS_IMETHOD Select(void) { return _to Select(); } 
  143.  
  144. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  145. #define NS_FORWARD_SAFE_NSIDOMHTMLTEXTAREAELEMENT(_to) \
  146.   NS_IMETHOD GetDefaultValue(nsAString & aDefaultValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDefaultValue(aDefaultValue); } \
  147.   NS_IMETHOD SetDefaultValue(const nsAString & aDefaultValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDefaultValue(aDefaultValue); } \
  148.   NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetForm(aForm); } \
  149.   NS_IMETHOD GetAccessKey(nsAString & aAccessKey) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAccessKey(aAccessKey); } \
  150.   NS_IMETHOD SetAccessKey(const nsAString & aAccessKey) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAccessKey(aAccessKey); } \
  151.   NS_IMETHOD GetCols(PRInt32 *aCols) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCols(aCols); } \
  152.   NS_IMETHOD SetCols(PRInt32 aCols) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCols(aCols); } \
  153.   NS_IMETHOD GetDisabled(PRBool *aDisabled) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDisabled(aDisabled); } \
  154.   NS_IMETHOD SetDisabled(PRBool aDisabled) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDisabled(aDisabled); } \
  155.   NS_IMETHOD GetName(nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
  156.   NS_IMETHOD SetName(const nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetName(aName); } \
  157.   NS_IMETHOD GetReadOnly(PRBool *aReadOnly) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetReadOnly(aReadOnly); } \
  158.   NS_IMETHOD SetReadOnly(PRBool aReadOnly) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetReadOnly(aReadOnly); } \
  159.   NS_IMETHOD GetRows(PRInt32 *aRows) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRows(aRows); } \
  160.   NS_IMETHOD SetRows(PRInt32 aRows) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetRows(aRows); } \
  161.   NS_IMETHOD GetTabIndex(PRInt32 *aTabIndex) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTabIndex(aTabIndex); } \
  162.   NS_IMETHOD SetTabIndex(PRInt32 aTabIndex) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTabIndex(aTabIndex); } \
  163.   NS_IMETHOD GetType(nsAString & aType) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
  164.   NS_IMETHOD GetValue(nsAString & aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValue(aValue); } \
  165.   NS_IMETHOD SetValue(const nsAString & aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetValue(aValue); } \
  166.   NS_IMETHOD Blur(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Blur(); } \
  167.   NS_IMETHOD Focus(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Focus(); } \
  168.   NS_IMETHOD Select(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Select(); } 
  169.  
  170. #if 0
  171. /* Use the code below as a template for the implementation class for this interface. */
  172.  
  173. /* Header file */
  174. class nsDOMHTMLTextAreaElement : public nsIDOMHTMLTextAreaElement
  175. {
  176. public:
  177.   NS_DECL_ISUPPORTS
  178.   NS_DECL_NSIDOMHTMLTEXTAREAELEMENT
  179.  
  180.   nsDOMHTMLTextAreaElement();
  181.  
  182. private:
  183.   ~nsDOMHTMLTextAreaElement();
  184.  
  185. protected:
  186.   /* additional members */
  187. };
  188.  
  189. /* Implementation file */
  190. NS_IMPL_ISUPPORTS1(nsDOMHTMLTextAreaElement, nsIDOMHTMLTextAreaElement)
  191.  
  192. nsDOMHTMLTextAreaElement::nsDOMHTMLTextAreaElement()
  193. {
  194.   /* member initializers and constructor code */
  195. }
  196.  
  197. nsDOMHTMLTextAreaElement::~nsDOMHTMLTextAreaElement()
  198. {
  199.   /* destructor code */
  200. }
  201.  
  202. /* attribute DOMString defaultValue; */
  203. NS_IMETHODIMP nsDOMHTMLTextAreaElement::GetDefaultValue(nsAString & aDefaultValue)
  204. {
  205.     return NS_ERROR_NOT_IMPLEMENTED;
  206. }
  207. NS_IMETHODIMP nsDOMHTMLTextAreaElement::SetDefaultValue(const nsAString & aDefaultValue)
  208. {
  209.     return NS_ERROR_NOT_IMPLEMENTED;
  210. }
  211.  
  212. /* readonly attribute nsIDOMHTMLFormElement form; */
  213. NS_IMETHODIMP nsDOMHTMLTextAreaElement::GetForm(nsIDOMHTMLFormElement * *aForm)
  214. {
  215.     return NS_ERROR_NOT_IMPLEMENTED;
  216. }
  217.  
  218. /* attribute DOMString accessKey; */
  219. NS_IMETHODIMP nsDOMHTMLTextAreaElement::GetAccessKey(nsAString & aAccessKey)
  220. {
  221.     return NS_ERROR_NOT_IMPLEMENTED;
  222. }
  223. NS_IMETHODIMP nsDOMHTMLTextAreaElement::SetAccessKey(const nsAString & aAccessKey)
  224. {
  225.     return NS_ERROR_NOT_IMPLEMENTED;
  226. }
  227.  
  228. /* attribute long cols; */
  229. NS_IMETHODIMP nsDOMHTMLTextAreaElement::GetCols(PRInt32 *aCols)
  230. {
  231.     return NS_ERROR_NOT_IMPLEMENTED;
  232. }
  233. NS_IMETHODIMP nsDOMHTMLTextAreaElement::SetCols(PRInt32 aCols)
  234. {
  235.     return NS_ERROR_NOT_IMPLEMENTED;
  236. }
  237.  
  238. /* attribute boolean disabled; */
  239. NS_IMETHODIMP nsDOMHTMLTextAreaElement::GetDisabled(PRBool *aDisabled)
  240. {
  241.     return NS_ERROR_NOT_IMPLEMENTED;
  242. }
  243. NS_IMETHODIMP nsDOMHTMLTextAreaElement::SetDisabled(PRBool aDisabled)
  244. {
  245.     return NS_ERROR_NOT_IMPLEMENTED;
  246. }
  247.  
  248. /* attribute DOMString name; */
  249. NS_IMETHODIMP nsDOMHTMLTextAreaElement::GetName(nsAString & aName)
  250. {
  251.     return NS_ERROR_NOT_IMPLEMENTED;
  252. }
  253. NS_IMETHODIMP nsDOMHTMLTextAreaElement::SetName(const nsAString & aName)
  254. {
  255.     return NS_ERROR_NOT_IMPLEMENTED;
  256. }
  257.  
  258. /* attribute boolean readOnly; */
  259. NS_IMETHODIMP nsDOMHTMLTextAreaElement::GetReadOnly(PRBool *aReadOnly)
  260. {
  261.     return NS_ERROR_NOT_IMPLEMENTED;
  262. }
  263. NS_IMETHODIMP nsDOMHTMLTextAreaElement::SetReadOnly(PRBool aReadOnly)
  264. {
  265.     return NS_ERROR_NOT_IMPLEMENTED;
  266. }
  267.  
  268. /* attribute long rows; */
  269. NS_IMETHODIMP nsDOMHTMLTextAreaElement::GetRows(PRInt32 *aRows)
  270. {
  271.     return NS_ERROR_NOT_IMPLEMENTED;
  272. }
  273. NS_IMETHODIMP nsDOMHTMLTextAreaElement::SetRows(PRInt32 aRows)
  274. {
  275.     return NS_ERROR_NOT_IMPLEMENTED;
  276. }
  277.  
  278. /* attribute long tabIndex; */
  279. NS_IMETHODIMP nsDOMHTMLTextAreaElement::GetTabIndex(PRInt32 *aTabIndex)
  280. {
  281.     return NS_ERROR_NOT_IMPLEMENTED;
  282. }
  283. NS_IMETHODIMP nsDOMHTMLTextAreaElement::SetTabIndex(PRInt32 aTabIndex)
  284. {
  285.     return NS_ERROR_NOT_IMPLEMENTED;
  286. }
  287.  
  288. /* readonly attribute DOMString type; */
  289. NS_IMETHODIMP nsDOMHTMLTextAreaElement::GetType(nsAString & aType)
  290. {
  291.     return NS_ERROR_NOT_IMPLEMENTED;
  292. }
  293.  
  294. /* attribute DOMString value; */
  295. NS_IMETHODIMP nsDOMHTMLTextAreaElement::GetValue(nsAString & aValue)
  296. {
  297.     return NS_ERROR_NOT_IMPLEMENTED;
  298. }
  299. NS_IMETHODIMP nsDOMHTMLTextAreaElement::SetValue(const nsAString & aValue)
  300. {
  301.     return NS_ERROR_NOT_IMPLEMENTED;
  302. }
  303.  
  304. /* void blur (); */
  305. NS_IMETHODIMP nsDOMHTMLTextAreaElement::Blur()
  306. {
  307.     return NS_ERROR_NOT_IMPLEMENTED;
  308. }
  309.  
  310. /* void focus (); */
  311. NS_IMETHODIMP nsDOMHTMLTextAreaElement::Focus()
  312. {
  313.     return NS_ERROR_NOT_IMPLEMENTED;
  314. }
  315.  
  316. /* void select (); */
  317. NS_IMETHODIMP nsDOMHTMLTextAreaElement::Select()
  318. {
  319.     return NS_ERROR_NOT_IMPLEMENTED;
  320. }
  321.  
  322. /* End of implementation class template. */
  323. #endif
  324.  
  325.  
  326. #endif /* __gen_nsIDOMHTMLTextAreaElement_h__ */
  327.